package shapes;

import java.awt.Color;

public class Shapes 
{
     point2d p;
     shape []s=new shape[10];
     public Shapes()
     {
                p=new point2d(0,0);
                square s1 = new square("Squre1", "Square", 3, Color.blue, Color.pink, p, 70);
                 p=new point2d(6,6);
                square s2 = new square("Squre2", "Square", 2, Color.green, Color.blue, p, 55);
                 p=new point2d(28,50);
		circle c1 = new circle("Circle1", "Circle", 4, Color.pink, Color.red, p, 100);
                 p=new point2d(100,50);
		circle c2 = new circle("Circle2", "Circle", 5, Color.red, Color.green, p, 250);
                 p=new point2d(55,330);
		rectangle r1 = new rectangle("rectangle1", "Rectangle", 7, Color.blue, Color.pink, p, 100, 200);
                 p=new point2d(300,100);
                rectangle r2 = new rectangle("rectangle2", "Rectangle", 9, Color.yellow, Color.red, p, 300, 100);
                s[1]=s1;
                s[2]=r1;
                s[3]=r2;
                s[4]=c1;
                s[1]=c1;   
    }
	public static void main (String[] arg)
	{
            Shapes s=new Shapes();
            shapespanel sp=new shapespanel(s);
            gcanvas can=new gcanvas(sp);
		
                
	}
}
